import request from "@/utils/request";
import { loginResponseData } from "@/api/user/type.ts";
import { LoginForm } from "@/api";

// 用户登录api
export const reqLogin = (data: LoginForm) => {
  return request<LoginForm, loginResponseData>({
    url: "/admin/acl/index/login",
    method: "post",
    data,
  });
};
